$this->app['hook']->listen('module_init');
try {
// 实例化控制器
$instance = $this->app->controller($this->controller,
$this->rule->getConfig('url_controller_layer'),
$this->rule->getConfig('controller_suffix'),
$this->rule->getConfig('empty_controller'));
} catch (ClassNotFoundException $e) {
throw new HttpException(404, 'controller not exists:' . $e->getClass());
}
$this->app['middleware']->controller(function (Request $request, $next) use ($instance) {
// 获取当前操作名
$action = $this->actionName . $this->rule->getConfig('action_suffix');
if (is_callable([$instance, $action])) {
// 执行操作方法
$call = [$instance, $action];
PHPSESSID | bsa8jo6dd1p4j133tcpuuea9f6 |
BAEID | 95DACE2642EA28176B164E4065F9B2EF |
USER | bae |
HOME | /home/bae |
HTTP_COOKIE | PHPSESSID=bsa8jo6dd1p4j133tcpuuea9f6; BAEID=95DACE2642EA28176B164E4065F9B2EF |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_HOST | www.hfskdq.com |
HTTP_CLIENTIP | 170.130.201.34 |
HTTP_X_FORWARDED_FOR | 170.130.201.34 |
HTTP_X_FORWARDED_PROTO | http |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.hfskdq.com |
SERVER_ADDR | 172.17.0.9 |
REMOTE_PORT | |
REMOTE_ADDR | 170.130.201.34 |
SERVER_SOFTWARE | nginx/1.16.1 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/bae/app |
DOCUMENT_URI | /index.php/index/js/"+bigimage+" |
REQUEST_URI | /index/js/%22+bigimage+%22 |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
SERVER_PORT | 80 |
PATH_INFO | /index/js/"%2Bbigimage%2B" |
SCRIPT_NAME | /index.php/index/js/"+bigimage+" |
SCRIPT_FILENAME | /home/bae/app/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/index/js/"+bigimage+"/index/js/"%2Bbigimage%2B" |
REQUEST_TIME_FLOAT | 1716089875.1315 |
REQUEST_TIME | 1716089875 |
SERVER_SOFTWARE | bae/3.0 |
BAE_ENV_APPID | appidp3028l16t1 |
BAE_ENV_LOG_HOST | 172.17.0.1 |
BAE_ENV_LOG_PORT | 7000 |
BAE_MEMORY | 128 |
DS | / |
APP_PATH | /home/bae/app/./application/ |
CONF_PATH | /home/bae/app/./config/ |
PUBILC_PATH | /home/bae/app/ |
ROOT_PATH | /home/bae/app |
CACHE_PATH | /home/bae/app/./runtime/ |
CONFIG_PATH | /home/bae/app/./config/ |
UPLOAD_PATH | uploads |